package com.itrip.itripauth.service.impl;

import com.itrip.itripauth.entity.HotelFeature;
import com.itrip.itripauth.entity.LabelDic;
import com.itrip.itripauth.mapper.HotelFeatureMapper;
import com.itrip.itripauth.service.HotelFeatureService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 四阶段项目二组
 * @since 2020-02-25
 */
@Service
public class HotelFeatureServiceImpl extends ServiceImpl<HotelFeatureMapper, HotelFeature> implements HotelFeatureService {
@Autowired
private HotelFeatureMapper hotelFeatureMapper;
    @Override
    public List<LabelDic> labelList(Integer hotelId) {
        return hotelFeatureMapper.labelList(hotelId);
    }
}
